package businesslogic.coursebl;

import java.util.ArrayList;

import po.*;
import vo.*;
import businesslogic.courseselectionbl.LessonInfo;

public class Lesson implements LessonInfo{

	Course course = new Course();
	
	@Override
	public ArrayList<LessonPO> findCourse(CourseClassification type, String term) {
		
		return course.findLesson(type, term);
	}

	@Override
	public ArrayList<LessonPO> findCourse(CourseClassification type,
			String term, Institute institute) {
		return course.findLesson(type,term,institute);
	}

	@Override
	public LessonPO findCourse(String courseID, String term) {
		return course.findLessonPO(courseID, term);
	}

	@Override
	public Message modifyCourse(LessonPO po) {
		LessonVO vo=new LessonVO(po);
		return course.modifyLesson(vo);
	}
	

}
